package com.youpai.platform.chat.web.entity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @time: 2022/8/24 4:47 下午
 * @author: welles
 * @description: 创建session请求参数
 */
@Data
@Accessors(chain = true)
public class CreateSessionReq {

    /**
     * 发送方accId
     */
    @NotBlank(message = "发送方accId不能为空")
    @ApiModelProperty(value = "发送方accId")
    private String fromAccId;

    /**
     * 接收方accId
     */
    @NotBlank(message = "接收方accId不能为空")
    @ApiModelProperty(value = "接收方accId")
    private String toAccId;
}
